// import React from 'react';

import Home from '../views/home'
import Login from '../views/login'
import page2 from '../views/page2'
import Layout from '../layout'
import Dashboard from '../views/dashboard'
const routes = [
    {
        path: '/',
        component: Layout,
        children: [
            {
                path: '/dashboard',
                component: Dashboard,
            }
        ]
    },
    {
        path: '/login', //动态路由
        component: Login
    }
]

export {routes}
